Cast to gchar* to fix a compilation warning
authorJavier Jardón <jjardon@gnome.org>
Sun, 25 Oct 2009 21:47:17 +0000 (22:47 +0100)
committerJavier Jardón <jjardon@gnome.org>
Mon, 26 Oct 2009 14:14:46 +0000 (15:14 +0100)
gdk-pixbuf/io-gif.c

index 04fb1d11709417fd80db868728a230a145f47304..7e35953021b7e37b0e72c50ba51b5fd63197363e 100644 (file)
@@ -411,8 +411,8 @@ gif_get_extension (GifContext *context)
                                 retval = get_data_block (context, (unsigned char *) context->block_buf, NULL);
                                 if (retval != 0)
                                         return retval;
-                                if (!strncmp (context->block_buf, "NETSCAPE2.0", 11) ||
-                                    !strncmp (context->block_buf, "ANIMEXTS1.0", 11)) {
+                                if (!strncmp ((gchar *)context->block_buf, "NETSCAPE2.0", 11) ||
+                                    !strncmp ((gchar *)context->block_buf, "ANIMEXTS1.0", 11)) {
                                         context->in_loop_extension = TRUE;
                                 }
                                 context->block_count = 0;